<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>cms-社区管理系统</title>
    <link th:href="@{favicon.ico}" rel="shortcut icon"/>
    <link rel="stylesheet" th:href="@{/layui/css/layui.css}"/>
    <link rel="stylesheet" th:href="@{/css/common/main.css}"/>
    <link rel="stylesheet" th:href="@{/css/plugins/font-awesome-4.7.0/css/font-awesome.min.css}" media="all">
</head>
<body>
<div class="layui-form timo-compile">
    <form th:action="@{/admin/role/addRole}">
        <div class="layui-form-item">
            <label class="layui-form-label required">角色id</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="number" name="roleId"  placeholder="请输入角色id" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">角色名</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="roleName"  placeholder="请输入角色名" >
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label required">角色关键字</label>
            <div class="layui-input-inline">
                <input class="layui-input" type="text" name="roleKey"  placeholder="请输入角色关键字" >
            </div>
        </div>
        <div class="layui-form-item timo-finally">
            <button class="layui-btn ajax-submit"><i class="fa fa-check-circle"></i> 保存</button>
            <button class="layui-btn btn-secondary close-popup"><i class="fa fa-times-circle"></i> 关闭</button>
        </div>
    </form>
</div>
<script th:src="@{/layui/layui.js}"></script>
<script th:src="@{/js/plugins/layer/layer.min.js}"></script>
<script th:src="@{/js/common/main.js}"></script>
</body>
</html>